package com.template.baseTemplate;

//最简单的模板模式的实现
public class TemplateTest {
    public static void main(String[] args) {
        //制作红豆豆浆
        RedBeanSoyMilk red = new RedBeanSoyMilk();
        red.make();

        System.out.println("------------");

        BlackBeanSoyMilk black = new BlackBeanSoyMilk();
        black.make();
    }
}
